\(\int \frac {1}{x^3 (a+b x^n)^{3/2}} \, dx\) [2511]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F(-2)]
   Sympy [C] (verification not implemented)
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 15, antiderivative size = 51 \[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=-\frac {\operatorname {Hypergeometric2F1}\left (1,-\frac {1}{2}-\frac {2}{n},-\frac {2-n}{n},-\frac {b x^n}{a}\right )}{2 a x^2 \sqrt {a+b x^n}} \]

[Out]

-1/2*hypergeom([1, -1/2-2/n],[(-2+n)/n],-b*x^n/a)/a/x^2/(a+b*x^n)^(1/2)

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.24, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {372, 371} \[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=-\frac {\sqrt {\frac {b x^n}{a}+1} \operatorname {Hypergeometric2F1}\left (\frac {3}{2},-\frac {2}{n},-\frac {2-n}{n},-\frac {b x^n}{a}\right )}{2 a x^2 \sqrt {a+b x^n}} \]

[In]

Int[1/(x^3*(a + b*x^n)^(3/2)),x]

[Out]

-1/2*(Sqrt[1 + (b*x^n)/a]*Hypergeometric2F1[3/2, -2/n, -((2 - n)/n), -((b*x^n)/a)])/(a*x^2*Sqrt[a + b*x^n])

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 372

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^n)^FracPart[p]/
(1 + b*(x^n/a))^FracPart[p]), Int[(c*x)^m*(1 + b*(x^n/a))^p, x], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[
p, 0] &&  !(ILtQ[p, 0] || GtQ[a, 0])

Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {1+\frac {b x^n}{a}} \int \frac {1}{x^3 \left (1+\frac {b x^n}{a}\right )^{3/2}} \, dx}{a \sqrt {a+b x^n}} \\ & = -\frac {\sqrt {1+\frac {b x^n}{a}} \, _2F_1\left (\frac {3}{2},-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 a x^2 \sqrt {a+b x^n}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.05 (sec) , antiderivative size = 60, normalized size of antiderivative = 1.18 \[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=-\frac {\sqrt {1+\frac {b x^n}{a}} \operatorname {Hypergeometric2F1}\left (\frac {3}{2},-\frac {2}{n},1-\frac {2}{n},-\frac {b x^n}{a}\right )}{2 a x^2 \sqrt {a+b x^n}} \]

[In]

Integrate[1/(x^3*(a + b*x^n)^(3/2)),x]

[Out]

-1/2*(Sqrt[1 + (b*x^n)/a]*Hypergeometric2F1[3/2, -2/n, 1 - 2/n, -((b*x^n)/a)])/(a*x^2*Sqrt[a + b*x^n])

Maple [F]

\[\int \frac {1}{x^{3} \left (a +b \,x^{n}\right )^{\frac {3}{2}}}d x\]

[In]

int(1/x^3/(a+b*x^n)^(3/2),x)

[Out]

int(1/x^3/(a+b*x^n)^(3/2),x)

Fricas [F(-2)]

Exception generated. \[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(1/x^3/(a+b*x^n)^(3/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 1.11 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.04 \[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=\frac {a^{- \frac {2}{n}} a^{- \frac {3}{2} + \frac {2}{n}} \Gamma \left (- \frac {2}{n}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {3}{2}, - \frac {2}{n} \\ 1 - \frac {2}{n} \end {matrix}\middle | {\frac {b x^{n} e^{i \pi }}{a}} \right )}}{n x^{2} \Gamma \left (1 - \frac {2}{n}\right )} \]

[In]

integrate(1/x**3/(a+b*x**n)**(3/2),x)

[Out]

a**(-3/2 + 2/n)*gamma(-2/n)*hyper((3/2, -2/n), (1 - 2/n,), b*x**n*exp_polar(I*pi)/a)/(a**(2/n)*n*x**2*gamma(1
- 2/n))

Maxima [F]

\[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=\int { \frac {1}{{\left (b x^{n} + a\right )}^{\frac {3}{2}} x^{3}} \,d x } \]

[In]

integrate(1/x^3/(a+b*x^n)^(3/2),x, algorithm="maxima")

[Out]

integrate(1/((b*x^n + a)^(3/2)*x^3), x)

Giac [F]

\[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=\int { \frac {1}{{\left (b x^{n} + a\right )}^{\frac {3}{2}} x^{3}} \,d x } \]

[In]

integrate(1/x^3/(a+b*x^n)^(3/2),x, algorithm="giac")

[Out]

integrate(1/((b*x^n + a)^(3/2)*x^3), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{x^3 \left (a+b x^n\right )^{3/2}} \, dx=\int \frac {1}{x^3\,{\left (a+b\,x^n\right )}^{3/2}} \,d x \]

[In]

int(1/(x^3*(a + b*x^n)^(3/2)),x)

[Out]

int(1/(x^3*(a + b*x^n)^(3/2)), x)